/** @format */
export default {
	/* @desc: 统一组装 HTTP 请求的 Url 地址 */
	//写作合成
	// sslwxbdUrl(apiName) {
	// 	const requestBaseUrl = "https://ser.aixiezuo888.com/webtts/tts/api/";
	// 	return `${requestBaseUrl}${apiName}`;
	// },
	sslwxbdUrl(apiName) {
		const requestBaseUrl = "https://ser.aixiezuo888.com/webtts/tts/api/";
		return `${requestBaseUrl}${apiName}`;
	},
	bsqUrl(apiName) {
		const requestBaseUrl = "https://ser.peiyinapp.com/bsqbiz/bsq/api/";
		return `${requestBaseUrl}${apiName}`;
	},
	apiMixUrl(apiName) {
		var aData = Date.parse(new Date()); //获取时间
		const requestBaseUrl =
			"https://biz.aixiezuo888.com/chat/api.php?v=3.0&t=" + aData; //https://dingyue.peiyinapp.com 测试环境
		return `${requestBaseUrl}${apiName}`;
	},
	
	apiMixUrlKey(apiName) {
		var aData = Date.parse(new Date()); //获取时间
		const requestBaseUrl =
			"https://biz.aixiezuo888.com/chat/api.php?v=1.2&t=" + aData;
		return `${requestBaseUrl}${apiName}`;
	},
	wycUrl(apiName) {
		// const requestBaseUrl = "https://www.lycecho.com/api/getOriginal";
		const requestBaseUrl = "https://ser.aixiezuo888.com/chat/api/";
		return `${requestBaseUrl}${apiName}`;
	},
	wycUrlApi() {
		const requestBaseUrl = "https://www.lycecho.com/api/getOriginal";
		return `${requestBaseUrl}`;
	},
	drawUrl(apiName) {
		// const requestBaseUrl = "https://www.lycecho.com/api/getOriginal";
		const requestBaseUrl = "https://ser.aixiezuo888.com/chat/api3/";
		return `${requestBaseUrl}${apiName}`;
	},
};